package biz.inspeed.test.mina;

import com.google.gson.Gson;

public class Main1 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Gson gson = new Gson();
		Dog0124 dog = new Dog0124();
		String json = gson.toJson(dog);
		System.out.println(json.length());
		System.out.println(json.getBytes().length);
	}

}
class Dog0124{
	String name = "333";
	 int age = 123;
}
